package Exercise03;

public class exercise03 {
    public static void main(String[] args) {
        worker jack = new worker("jack",10000);
        jack.print();

        famer hubiao = new famer("hubiao", 200);
        hubiao.setSalMonth(10000);
        hubiao.print();

        teacher teacher = new teacher("老汉", 2000);
        teacher.setClassDays(360);main(args);
        teacher.setClassSal(100);
        teacher.print();

    }
}
